<?php
if (isset($_GET['page'])){
   $page=$_GET['page']; 
   switch($page){
        case 'myaccount':
            include('pages/myaccount.php');
            break;
        case 'login' :
            include('pages/login/login.php');
            break;
        case 'logout' :
            logout();
            break;
        case 'informations' :
            include('pages/utilisateur/utilisateurs_informations.php');
            break;
        case 'nouveau' :
            include('pages/utilisateur/utilisateurs_informations.php');
            break;
        case 'forgot' :
            include('pages/login/forgot.php');
            break;
        case 'services' :
            include('pages/services/main.php');
            break;
        case 'merci' :
            include('pages/utilisateur/thankyou.php');
            break;
        case 'participation_journee':
            include('pages/services/journee-telesante/formulaire_participation.php');
            break;
        case 'service_comp_journee':
            include('pages/services/journee-telesante/proposition_service.php');
            break;
        case 'confirm_commande':
            include('pages/services/Commande/confirmcommande.php');
            break;
        case 'doCommande':
            include('pages/services/Commande/doCommande.php');
            break;
         case 'finalisation':
            include('pages/services/Commande/finalisation.php');
            break;
        case 'supprimerItem':
            include('pages/services/Commande/supprimerItem.php');
            break;
        case 'supprimer_Commande':
            include('pages/services/Commande/supprimerCommande.php');
            break;
        default :
            include('pages/myaccount.php');
            break;
}   
    
}else{
    include('pages/myaccount.php');
}
?>

